<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    /* body{
      text-align: center;
    } */
    
    div{
      width: 100px;
      height: 100px;
      float: left;
      display: inline;
    }
    .item1{
      background-color: aqua;
    }
    .item2{
      background-color: blueviolet;
    }
    .item3{
      background-color: greenyellow;
    }
  </style>
</head>
<body>
  <div class="item1"></div>
  <div class="item2"></div>
  <div class="item3"></div>

</body>
</html>